package com.zdft.promotion.promotion.vo;

import com.zdft.promotion.promotion.bean.PromotionRulesBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 促销规则
 * 
 * @author wangtao
 * @email 
 * @date 2020-02-24 11:03:08
 */
@Data
@ApiModel
public class PromotionRulesResponseVO {

	@ApiModelProperty("总记录数")
	private long total;
	@ApiModelProperty("当前页码")
	private long current;
	@ApiModelProperty("每页大小")
	private long size;
	@ApiModelProperty("返回结果集")
	private List<PromotionRulesBean> records;

	public PromotionRulesResponseVO(long total, long current, long size, List<PromotionRulesBean> records) {
		this.total = total;
		this.current = current;
		this.size = size;
		this.records = records;
	}
}
